package com.yurun.commonapi.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigInteger;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Device {

    private BigInteger id;

    private String host;  // 云端IP地址

    private int port;  // 云端端口号

    private int timeout = 3000; // 接口连接超时时间，默认3000毫秒

    private String deviceKey;

    private String secret;

    private BigInteger organizationId;

    private BigInteger branchId;

    private Date createTime;

    private Date updateTime;

    private int isDel;

    private String url;

}
